package test;

import java.io.IOException;

import org.objectweb.proactive.api.PAActiveObject;
import org.objectweb.proactive.core.ProActiveException;

public class Server {

	public static void main(String[] args) throws InterruptedException, ProActiveException, IOException {

		SayHello hello = (SayHello) PAActiveObject.newActive(SayHello.class, null);
		hello.helloWorld();
		System.out.println(PAActiveObject.getUrl(hello));
		PAActiveObject.terminateActiveObject(hello, true);
	}

}
